/* ****************************************************************************
 * Author: 671643387
 * Date: 2015/3/19
 * ***************************************************************************/

Ext.define("sggm.view.UpdateLeague", {
    extend: "Ext.Window",
    alias: "widget.updateLeague",
    title: "军团",
    width: 300,
    height: 260,
    modal: true,
    layout:"form",
    labelWidth:45,
    plain:true,
    bodyStyle:"padding:5px",
    buttonAlign: "center",
    items: [{
        xtype: "textfield",
        name: "name",
        fieldLabel: "名称"
    }, {
        xtype: "fieldset",
        title: "装备类型",
        autoHeight: true,
        defaultType: "radio",
        items: [
            {boxLabel: "等级", name: "type", inputValue: 'level', checked: true},
            {boxLabel: "副本关卡", name: "type", inputValue: 'dplevel'},
            {boxLabel: "军衔经验", name: "type", inputValue: 'gradexp'}
        ]
    }, {
        xtype: "numberfield",
        name: "level",
        fieldLabel: "变化值",
        hideTrigger: true
    }],
    buttons: [{
        text: "修改",
        action: "saveLeague"
    }]
});